package com.sq.partner.manager.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.sq.partner.manager.mybatis.model.GatewayUser;
import com.sq.partner.manager.mybatis.model.NocarEdrnoPower;
import com.sq.partner.manager.util.Page;

/**
 * 受益人Service接口类
 * 
 * SQ
 *
 */
public interface NocarEdrnoPowerService {

public Page<Map<String,Object>> queryNocarEdrnoPowers(Page<Map<String,Object>> page) throws SQLException;
	
	public boolean deletNocarEdrnoPower(String id) throws Exception;
	
	public boolean addNocarEdrnoPower(NocarEdrnoPower nocarEdrnoPower) throws Exception;
	
	public boolean updateNocarEdrnoPower(NocarEdrnoPower nocarEdrnoPower) throws Exception;
	
	public NocarEdrnoPower queryNocarEdrnoPowerById(String id) throws Exception;

	Page<Map<String, Object>> queryPlanPageByCriteria(
			Page<Map<String, Object>> page, GatewayUser user) throws Exception;
}
